<?php	$this->load->view('includes/header');	?>
<div class="container">
    <div class="row">
								<div class="col-md-9">
												<h1>Panel de Control <small>Añadir Administradores</small></h1>
												<hr>
												<?php	if	(isset($error)	&&	$error):	?>
																<div class="alert alert-info alert-dismissable">
																				<button type="button" class="close" data-dismiss="alert" aria-hidden="true">&times;</button>
																				<?php
																				echo	validation_errors();
																				if	(isset($msg)	&&	$msg	!=	' ')	{
																								echo	$msg;
																				}
																				?>
																</div>

												<?php	endif	?>
												<form role="form" class="form_add" id="form_add_admin" action="<?php echo base_url(); ?>/index.php/admin/insert/<?php	echo $id_admin;?>" method="post">

																<div class="form-group">
																				<label>Email</label>
																				<input class="form-control" name="email" value="<?php	echo	$email;	?>"> 
																				<p class="help-block">Introduzca su Email</p>
																</div>   

																<div class="form-group">
																				<label>Password</label>
																				<input type="password" class="form-control" name="pass"> 
																				<p class="help-block">Introduzca su password</p>
																</div>

																<div class="form-group">
																				<label>Nombre</label>
																				<input class="form-control" name="nombre" value="<?php	echo	$nombre;	?>"> 
																				<p class="help-block">Introduzca su Nombre completo</p>
																</div>
																<button type="submit" class="btn btn-primary" id="btn_add_client">Enviar</button>
												</form>
								</div>
    </div>
</div>
<?php	$this->load->view('includes/footer');	?>